package com.openecommerce.core.messagequeue.queue;

import java.util.List;

import com.openecommerce.core.messagequeue.message.EmailMessage;


/**
 * 队列基础类
 * @author Tommy
 *
 */
public abstract class BasicQueue implements Runnable  {
	
	public abstract void push(EmailMessage message);
	
	public abstract void pop(EmailMessage message);
	
	public abstract void consume(List<EmailMessage> messageList);
	
	public void run() {
		
	}
	
}
